package OOday01;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/6 16:18
 */
public class Doctor extends Person {
    String title;
    Doctor(){

    }
    Doctor(String title,String name,int age,String address){
        this.title = title;
        this.address= address;
        this.age= age;
        this.name= name;
    }
    void cut(){
        System.out.println("我是"+name+"是一名"+title+"正在做手术");
    }
}
